<%--
  Created by IntelliJ IDEA.
  User: lizhun
  Date: 16/3/19
  Time: 下午4:45
  To change this template use File | Settings | File Templates.
--%>
<%@page  pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@ include file="../../include/import.jsp" %>
<!doctype html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/teacher/css/libs/CSSRESET.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/teacher/css/common.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/teacher/css/ranking.css">
</head>
<body>
<article class="wrapper">
    <div class="main">
        <div class="self">
            <div>
                <c:choose>
                    <c:when test="${fn:containsIgnoreCase(result.obj.memb_head_portrait, 'http')}">
                        <img src="${result.obj.memb_head_portrait}" alt="" />
                    </c:when>
                    <c:otherwise>
                        <img src="${src}${result.obj.memb_head_portrait}" alt="" />
                    </c:otherwise>
                </c:choose>
            </div>
            <h5>${result.obj.memb_name}</h5>
            <p>学习时长：${result.obj.week_study_size}分钟</p>
        </div>
        <!-- self -->

        <div class="rank">
            <ul class="ul_rank">

                <c:forEach items="${result.obj.weekRankingList}" var="rankings"  varStatus="status" >

                    <li>
                        <div>NO.${rankings.ranking}</div>
                        <div>
                            <c:choose>
                                <c:when test="${fn:containsIgnoreCase(rankings.memb_head_portrait, 'http')}">
                                    <img src="${rankings.memb_head_portrait}" alt="" />
                                </c:when>
                                <c:otherwise>
                                    <img src="${src}${rankings.memb_head_portrait}" alt="" />
                                </c:otherwise>

                            </c:choose>
                            <span>${rankings.memb_name}</span>
                        </div>
                        <div>${rankings.ranking_size}分钟</div>
                    </li>
                </c:forEach>


                <li>
                    <div>NO.2</div>
                    <div>
                        <img src="${ctx}/resource/teacher/img/icon_rank_img_2.png" alt="" />
                        <span>好长的名字呢~</span>
                    </div>
                    <div>96分钟</div>
                </li>

                <li>
                    <div>NO.3</div>
                    <div>
                        <img src="${ctx}/resource/teacher/img/icon_rank_img_3.png" alt="" />
                        <span>旋转跳跃</span>
                    </div>
                    <div>84分钟</div>
                </li>

                <li>
                    <div>NO.4</div>
                    <div>
                        <img src="${ctx}/resource/teacher/img/icon_rank_img_1.png" alt="" />
                        <span>好长的名字呢~</span>
                    </div>
                    <div>84分钟</div>
                </li>

                <li>
                    <div>NO.5</div>
                    <div>
                        <img src="${ctx}/resource/teacher/img/icon_rank_img_2.png" alt="" />
                        <span>旋转跳跃</span>
                    </div>
                    <div>84分钟</div>
                </li>

                <li>
                    <div>NO.6</div>
                    <div>
                        <img src="${ctx}/resource/teacher/img/icon_rank_img_3.png" alt="" />
                        <span>旋转跳跃</span>
                    </div>
                    <div>84分钟</div>
                </li>
            </ul>
        </div>

    </div>
</article>
<!-- wrapper End -->

<div class="download">
    <div class="download_wrap">
        <div><img src="${ctx}/resource/teacher/img/icon_face.png" alt="" /></div>
        <div>
            <h5>外教君</h5>
            <p>一键学英语</p>
        </div>
        <div><a href="javascript:;" onclick="window.location='http://a.app.qq.com/o/simple.jsp?pkgname=com.waijiaojun'"></a></div>
    </div>
</div>
<!-- download -->

</body>
</html>
